package com.example.demo.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * (TbUser)表实体类
 *
 * @author makejava
 * @since 2022-03-27 17:16:35
 */
@SuppressWarnings("serial")
public class TbUser extends Model<TbUser> {
    //ID
    private Integer id;
    //用户名
    private String name;
    //邮箱
    private String email;
    //性别
    private String gender;
    //城市
    private String city;
    //加入时间
    private Date date;
    //是否删除
    private Boolean remake;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Boolean getRemake() {
        return remake;
    }

    public void setRemake(Boolean remake) {
        this.remake = remake;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

